knitr::opts_chunk$set(comment = NA)
library(janitor); library(naniar)
library(bestglm) ## best subsets search using logistic regression
library(broom)
library(car) ## special plot for logistic regression diagnostics
library(caret) ## for confusion matrices
library(cobalt) ## new today: to split factor into indicator variables
library(cutpointr) ## new today: optimizing cutpoints
library(glue) ## combining R code results and text in labels
library(gt)
library(readxl) ## read in data from an Excel file
library(tableone) ## new today: produce a "simple" Table 1
library(rms)
library(easystats); library(tidyverse)
theme_set(theme_bw())